//导入request.js请求工具
import request from '@/utils/request.js'

//提供调用全部列表信息的函数
export const searchPage = (departmentdata)=>{
    // console.log(request.post('/farmer/list1',departmentdata))
    return  request.post('/farmer/list1',departmentdata)
}
export const searchhelp = ()=>{
    return  request.get('/helpman/getAll1')
}
export const searchmeasure = ()=>{
    return  request.get('/measure/getAll')
}
export const helpService = (helpData)=>{

    return request.post('/helpman/add',helpData);
}
export const helpmanService = (helpData)=>{

    return request.post('/applypoor/add2',helpData);
}